<p-dialog header="选择仓库管理员" [(visible)]="display" modal="modal" width="1000" [responsive]="true" (onHide)="closeChooseWarehouseMask(false)">
  <div class="content-section implementation GridDemo clearfixes">
    <form>
      <div class="ui-grid ui-grid-responsive ui-grid-pad ui-fluid" style="margin: 10px 0px">
        <div class="ui-grid-row margin-bottom-1vw">
          <div class="ui-grid-col-1">
            <label >账号</label>
          </div>
          <div class="ui-grid-col-2">
            <input  name="inspectionName"  type="text" pInputText   placeholder="物料编号" >
          </div>
          <div class="ui-grid-col-1">
            <label >名称</label>
          </div>
          <div class="ui-grid-col-2">
            <input  name="inspectionName"  type="text" pInputText   placeholder="物料名称" >
          </div>
          <!--<div class="ui-grid-col-1">-->
            <!--<label >物料分类</label>-->
          <!--</div>-->
          <!--<div class="ui-grid-col-2">-->
            <!--<input  name="inspectionName"  type="text" pInputText   placeholder="物料分类" >-->
          <!--</div>-->
          <div class="ui-grid-col-1">
            <button pButton  type="button" (click)="showAddInspectionPlanMask()" label="查询"></button>
          </div>
        </div>
        <p-dataTable [value]="inspections"
                     [totalRecords]="totalRecords"  [(selection)]="selectInsepections">
          <p-column [style]="{'width':'38px'}" selectionMode="multiple"></p-column>
          <p-column  *ngFor="let col of cols" field="{{col.field}}" header="{{col.header}}"></p-column>
          <p-column header="操作">
            <!--<ng-template let-car="rowData" pTemplate="body" let-i="rowIndex">-->
            <!--<button pButton type="button" label="修改" (click)="updateOption(inspections[i])"></button>-->
            <!--<button pButton type="button" label="关联巡检对象" (click)="showAssociatedInspectionMask(inspections[i])"></button>-->
            <!--</ng-template>-->
          </p-column>
          <ng-template pTemplate="emptymessage">
            当前没有数据
          </ng-template>
        </p-dataTable>
        <p-paginator rows="10"  [rowsPerPageOptions]="[10,20,30]" ></p-paginator>
      </div>
    </form>

  </div>
  <p-footer>
    <button type="button" pButton icon="fa-check"  label="确定"></button>
    <button type="button" pButton icon="fa-close" (click)="closeChooseWarehouseMask(false)" label="取消"></button>
  </p-footer>
</p-dialog>
